package com.kgc.activityprovider.dao;


import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface CwWorkFlowMapper {

    //改变状态的方法
    int checkCwOtherIncome(@Param("code") String code,@Param("status") int status);

    int checkCwOtherIncomeRefund(@Param("code") String code,@Param("status") int status);

    int checkSalesAdvance(@Param("code") String code,@Param("status") int status);

    int checkSalesAdvanceRefund(@Param("code") String code,@Param("status") int status);

    int checkCollection(@Param("code") String code,@Param("status") int status);

    int checkCollectionRefund(@Param("code") String code,@Param("status") int status);

    int checkWrite(@Param("code") String code,@Param("status") int status);

    //新增审核的信息
    int insertCheckCwOtherIncome(@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);

    int insertCheckCwOtherIncomeRefund(@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);

    int insertCheckSalesAdvance(@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);

    int insertCheckSalesAdvanceRefund(@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);

    int insertCheckCollection(@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);

    int insertCheckCollectionRefund(@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);

    int insertCheckWrite(@Param("code") String code, @Param("checkManId") Integer checkManId, @Param("checkComment") String checkComment);





}
